<template>
    <!-- <form action="http://localhost:8080/putuser/" method="post">
        <input name="username" value="mdd"/>
        <input name="eMail" value="111@qq.com"/>
        <input name="userDescription" value="99"/>
        <input name="realName" value="99"/>
        <input name="passWord" value="99"/>
        <input name="refreshToken" value="99"/>
        <input name="token" value="99"/>
        <input name="avator" value="99"/>
        <input name="grade" value="99"/>
        <input name="roleid" value="99"/>
        <input type="submit" value="Submit">
    </form> -->
    <form action="http://localhost:8080/getpage/" method="get">
        <input type="text" name="limit" value="2">
        <input type="text" name="page" value="3">
        <input type="submit" value="submit"/>
    </form>
</template>
<script>
import axios from 'axios'
export default {
    name:'test',
    data() {
        return {
            count:1
            
        }
    },
    beforeMount(){
        this.getCount();
    },
    methods: {
        getCount(){
            console.log("11111");
            // axios.get('/getcount')
            // .then(res => {
            //     console.log('数据是:', res);
            //     this.count=res
            // })
            // .catch((e) => {
            //     console.log('获取数据失败');
            // });
        }
    }
}
</script>
<style>
    
</style>